import { httpData } from '@/utils/types';
import { post, get } from '@/utils/request';
export default {
    // 仓储管理入库:生产订单绑定扫码校验
    orderProductionScanCheck: (data?: httpData) => {
        return get('/app/order/production/scanCheck', data);
    },

    // 生产订单号下拉
    orderProductionPullDown: (data?: httpData) => {
        return get('/app/order/production/pullDown', data);
    },

    // 仓储管理入库：生产订单绑定
    orderProductionBind: (data?: httpData) => {
        return post('/app/order/production/bind', data);
    },

    // 仓储管理入库：生产订单解绑
    orderProductionUnbind: (data?: httpData) => {
        return post('/app/order/production/unbind', data);
    },

    // 仓储管理入库：生产订单解绑
    orderProductionFillingUnbind: (data?: httpData) => {
        return post('/app/order/production/fillingUnbind', data);
    },

    // 生产订单下拉
    orderProductionDetail: (data?: httpData) => {
        return get('/order/production/detail', data);
    },
};
